package com.liang.demo01;

/**
 * @Author:liangli
 * @Date:2020/11/17 11:08
 */
public class TestThread3 implements Runnable {
    public void run() {
        for (int i=0;i<200;i++){
            System.out.println("我在学习多线程");
        }
    }

    public static void main(String[] args) {
        TestThread3 t3=new TestThread3();
//        Thread thread=new Thread(t3);
//        thread.start();
        new Thread(t3).start();
        for (int i=0;i<=200;i++){
            System.out.println("我想高飞");
        }
    }
}
